from django.urls import path
from user import views

urlpatterns = [
    path('login/', views.login, name='login'),
    path('get_csrf_token/', views.get_csrf_token, name='get_csrf_token'),
    path('register/', views.register, name='register'),
    path('get_favorite/', views.get_favorite, name='get_favorite'),
    path('add_favorite/', views.add_favorite, name='add_favorite'),
    path('remove_favorite/', views.remove_favorite, name='remove_favorite'),
    path('update_favorite/', views.update_favorite, name='update_favorite'),
    path('get_user_all_favorite/', views.get_user_all_favorite, name='get_user_all_favorite'),
]
